<?php
// +-------------------------------------------------------------------
// |
// +-------------------------------------------------------------------
// | Copyright (c) 2009-2016 All rights reserved.
// +-------------------------------------------------------------------
namespace Service\Api\V1;

use Think\Model;

class LivePayElecInit
{
    public $login = false; //是否需要登录才能访问该接口
    public $title = "电费缴纳初始化信息";
    public $group = '生活缴费';
    public $desc = "";

    public $input = [
        'id' => 'required;int;label=租赁合同id;',
    ];

    public $output = [
        [
            'house_id' => 'label=房间id;',
            'building_id' => 'label=楼栋id;',
            'building_name' => 'label=楼栋号;',
            'house_name' => 'label=房间号;',
            'elec_code' => 'label=电表编号;',
            'elec_balance' => 'label=电费余额;',
        ]
    ];

    public function run($param, $uid)
    {


        return '';
    }
}
